﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp1
{
    class Student
    {
        private static string address;
        public string Name { get; set; }
        public int Age { get; set; }

        public static int Count { get; set; }

        public static string Address
        {
            get { return address; }
            set { address = value; }
        }
        
        public Student() { }

        static Student() {
            address = "海南";
            Count = 0;
        }



        public void PrintMsg()
        {
            Console.WriteLine(this.Name + "--" + this.Age + "--" + Count);
        }
    }
}
